﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

namespace HospitalSystem.Nurse
{
    public partial class NRS : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            String ShowValue = (string)Session["idlogin"];
            UserLabel.Text = ShowValue;
        }

        protected void LinkButton1_Click(object sender, EventArgs e)
        {
            FormsAuthentication.SignOut();
            FormsAuthentication.RedirectToLoginPage();
            // Roles.DeleteCookie();
            Session.Clear();
        }

        protected void AccountSetting_Click(object sender, ImageClickEventArgs e)
        {
            Response.Redirect("~/Admin/UIDManagement.aspx");
        }
    }
}